package com.ddwl.schema.vo.goods.retail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author hemiaojun
 * @Date 2021/4/26 18:04
 */
@Getter
@Setter
@ApiModel("店铺商品列表vo")
public class ShopItemListVo {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("店铺ID")
    private String shopId;

    @ApiModelProperty("商品名称")
    private String itemName;

    @ApiModelProperty("商品类型 0：五八马平台，1：新零售店铺")
    private Integer itemType;

    @ApiModelProperty("销售价")
    private BigDecimal retailPrice;

    @ApiModelProperty("优惠价")
    private BigDecimal originPrice;

    @ApiModelProperty("商品状态 0下架 1上架")
    private Integer itemStatus;

    @ApiModelProperty("主图url")
    private String itemImage;

    @ApiModelProperty("规格类型 0：单规格，1：多规格")
    private Integer skuType;

    @ApiModelProperty("规格数量")
    private Integer skuNum;

    @ApiModelProperty("商品库存")
    private Integer stock;

    @ApiModelProperty("已经加入购物车的数量")
    private Integer existCarNum;

    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty("商品预估佣金")
    private BigDecimal itemCommission;

    @ApiModelProperty("是否限时购，0否 1是")
    private Integer limitTimeFlag;

    @ApiModelProperty("限时购商品信息")
    private LimitTimePurItemDetailVo limitTimePurItemDetailVo;

    @ApiModelProperty("是否限购，0否 1是")
    private Integer limitFlag;

    @ApiModelProperty("商品标签")
    private String itemSgin;

    @ApiModelProperty("商品标签名称列表")
    private List<String> itemListTags;

    @ApiModelProperty("是否可代理 0否 1是")
    private Integer agentFlag = 0;

    @ApiModelProperty("是否公益商品 0否 1是")
    private Integer charityFlag;

}
